package org.facyt.vacas.services.impl;

import org.facyt.vacas.dao.AnimalDAO;
import org.facyt.vacas.entities.vacas.Alimento;
import org.facyt.vacas.services.AnimalService;


public class AnimalServiceImpl implements AnimalService {


	
	private AnimalDAO animalDao;

	public AnimalDAO getAnimalDao() {
		return animalDao;
	}

	public void setAnimalDao(AnimalDAO animalDao) {
		this.animalDao = animalDao;
	}
	
	public Alimento getAnimalById(long id) throws Exception {
		// TODO Auto-generated method stub
		return animalDao.getAnimalById(id);
	}

	public Alimento getAnimalByIdCompleto(long id) throws Exception {
		// TODO Auto-generated method stub
		return animalDao.getAnimalByIdCompleto(id);
	}
	
	

}
